package sg.edu.nus.iss.vmcs.ui;

import java.util.Observable;
import java.util.Observer;

import javax.swing.JButton;
import javax.swing.JLabel;

public class ObserverLabel extends JLabel implements Observer {
	
	public ObserverLabel (String text) {
		super(text);
	}

	public void update(Observable o, Object strObj) {
		String strTitle = (String) strObj;
		setText(strTitle);
		
	}

}
